package com.qidian.mes.defect.service;

import com.qidianit.common.pojo.MESResult;
import com.qidianit.mes.pojo.DetectName;
import com.qidianit.mes.pojo.MaterialDetect;

public interface MaterialService {
    MESResult list(
            String materialId,
            String materialName,
            String model,
            Long testLow,
            String unit,
            String numberTop,
            Long fatal,
            Long severe,
            Long slight,
            int page,
            int limit);

    MESResult save(MaterialDetect materialDetect);

    MESResult update(MaterialDetect materialDetect);


    //通过id查询这一条数据
    MESResult selectById(String materialId);



}
